

import type{ AnyObject,MethodType } from "./type"
// 定义请求基类的接口
//定义methods方法的基类
export  interface RequestParams{
  url:string, 
  data?:AnyObject,
  method?:MethodType
}
//定义page和limit的接口
export interface pageLimitInterface {
  page:number,
  limit:number,
}

export interface saveUserInfoInterface{
  nickname:string,
  avatar:string,
  [propsName:string]:any,
}
export interface commentsList extends pageLimitInterface{
    courseId?:string,
} 